PulseCanvas / app · pulsecanvas.ai / Sources / PulseCanvas / Resources / ProjectM / Presets / Waveform / Wire Spirograph / Rovastar - Sunflower Passion planet.milk
| 1 | MILKDROP_PRESET_VERSION=201 |
| 2 | PSVERSION=3 |
| 3 | PSVERSION_WARP=3 |
| 4 | PSVERSION_COMP=2 |
| 5 | [preset00] |
| 6 | fRating=5.000000 |
| 7 | fGammaAdj=2.000 |
| 8 | fDecay=0.980 |
| 9 | fVideoEchoZoom=2.000 |
| 10 | fVideoEchoAlpha=0.000 |
| 11 | nVideoEchoOrientation=0 |
| 12 | nWaveMode=0 |
| 13 | bAdditiveWaves=0 |
| 14 | bWaveDots=0 |
| 15 | bWaveThick=1 |
| 16 | bModWaveAlphaByVolume=0 |
| 17 | bMaximizeWaveColor=1 |
| 18 | bTexWrap=0 |
| 19 | bDarkenCenter=1 |
| 20 | bRedBlueStereo=0 |
| 21 | bBrighten=0 |
| 22 | bDarken=0 |
| 23 | bSolarize=0 |
| 24 | bInvert=0 |
| 25 | fWaveAlpha=3.645 |
| 26 | fWaveScale=0.010 |
| 27 | fWaveSmoothing=0.500 |
| 28 | fWaveParam=-0.500 |
| 29 | fModWaveAlphaStart=0.750 |
| 30 | fModWaveAlphaEnd=0.950 |
| 31 | fWarpAnimSpeed=1.000 |
| 32 | fWarpScale=2.853 |
| 33 | fZoomExponent=2.10000 |
| 34 | fShader=0.000 |
| 35 | zoom=1.02500 |
| 36 | rot=0.00000 |
| 37 | cx=0.500 |
| 38 | cy=0.500 |
| 39 | dx=0.00000 |
| 40 | dy=0.00000 |
| 41 | warp=1.29077 |
| 42 | sx=1.00000 |
| 43 | sy=1.00000 |
| 44 | wave_r=0.000 |
| 45 | wave_g=0.000 |
| 46 | wave_b=0.000 |
| 47 | wave_x=0.500 |
| 48 | wave_y=0.500 |
| 49 | ob_size=0.010 |
| 50 | ob_r=0.000 |
| 51 | ob_g=1.000 |
| 52 | ob_b=0.000 |
| 53 | ob_a=0.000 |
| 54 | ib_size=0.015 |
| 55 | ib_r=0.250 |
| 56 | ib_g=0.250 |
| 57 | ib_b=0.250 |
| 58 | ib_a=0.000 |
| 59 | nMotionVectorsX=64.000 |
| 60 | nMotionVectorsY=48.000 |
| 61 | mv_dx=0.000 |
| 62 | mv_dy=0.000 |
| 63 | mv_l=0.000 |
| 64 | mv_r=1.000 |
| 65 | mv_g=1.000 |
| 66 | mv_b=0.000 |
| 67 | mv_a=1.000 |
| 68 | b1n=0.000 |
| 69 | b2n=0.000 |
| 70 | b3n=0.000 |
| 71 | b1x=1.000 |
| 72 | b2x=1.000 |
| 73 | b3x=1.000 |
| 74 | b1ed=0.250 |
| 75 | wavecode_0_enabled=0 |
| 76 | wavecode_0_samples=512 |
| 77 | wavecode_0_sep=0 |
| 78 | wavecode_0_bSpectrum=0 |
| 79 | wavecode_0_bUseDots=0 |
| 80 | wavecode_0_bDrawThick=0 |
| 81 | wavecode_0_bAdditive=0 |
| 82 | wavecode_0_scaling=1.00000 |
| 83 | wavecode_0_smoothing=0.50000 |
| 84 | wavecode_0_r=1.000 |
| 85 | wavecode_0_g=1.000 |
| 86 | wavecode_0_b=1.000 |
| 87 | wavecode_0_a=1.000 |
| 88 | wavecode_1_enabled=0 |
| 89 | wavecode_1_samples=512 |
| 90 | wavecode_1_sep=0 |
| 91 | wavecode_1_bSpectrum=0 |
| 92 | wavecode_1_bUseDots=0 |
| 93 | wavecode_1_bDrawThick=0 |
| 94 | wavecode_1_bAdditive=0 |
| 95 | wavecode_1_scaling=1.00000 |
| 96 | wavecode_1_smoothing=0.50000 |
| 97 | wavecode_1_r=1.000 |
| 98 | wavecode_1_g=1.000 |
| 99 | wavecode_1_b=1.000 |
| 100 | wavecode_1_a=1.000 |
| 101 | wavecode_2_enabled=1 |
| 102 | wavecode_2_samples=102 |
| 103 | wavecode_2_sep=0 |
| 104 | wavecode_2_bSpectrum=1 |
| 105 | wavecode_2_bUseDots=0 |
| 106 | wavecode_2_bDrawThick=0 |
| 107 | wavecode_2_bAdditive=0 |
| 108 | wavecode_2_scaling=1.00000 |
| 109 | wavecode_2_smoothing=0.00000 |
| 110 | wavecode_2_r=0.000 |
| 111 | wavecode_2_g=0.000 |
| 112 | wavecode_2_b=0.000 |
| 113 | wavecode_2_a=1.000 |
| 114 | wave_2_per_frame1=samples = 256 + 50*sin(time*.939493949); |
| 115 | wave_2_per_frame2=vol = (bass_att + mid_att + treb_att)*.333333; |
| 116 | wave_2_per_frame3=vol_avg = .1*(vol_avg*9 + vol); |
| 117 | wave_2_per_frame4=vg = vol_avg*.1; |
| 118 | wave_2_per_frame5=t1 = if(above(vg,1.8),1.8,vg); |
| 119 | wave_2_per_point1=tm = q1; |
| 120 | wave_2_per_point2=sp = sample*6.28*8*6*sin(time)*100; |
| 121 | wave_2_per_point3= |
| 122 | wave_2_per_point4=vol = (value1+value2)*.5; |
| 123 | wave_2_per_point5=it = it*above(sample,0); |
| 124 | wave_2_per_point6=it = it + 1; |
| 125 | wave_2_per_point7=//rad = .5 + vol + .01; |
| 126 | wave_2_per_point8=rad=1; |
| 127 | wave_2_per_point9=ra = rad*sin(sample*3.14); |
| 128 | wave_2_per_point10=ox = ra*sin(sp); |
| 129 | wave_2_per_point11=oy = sin(sample*3.14-1.57)*rad; |
| 130 | wave_2_per_point12=oz = ra*cos(sp); |
| 131 | wave_2_per_point13= |
| 132 | wave_2_per_point14=xang = q4; |
| 133 | wave_2_per_point15=yang = q5; |
| 134 | wave_2_per_point16=zang = q6; |
| 135 | wave_2_per_point17=fov = .5; |
| 136 | wave_2_per_point18= |
| 137 | wave_2_per_point19=mx = ox*cos(zang) - oy*sin(zang); |
| 138 | wave_2_per_point20=my = ox*sin(zang) + oy*cos(zang); |
| 139 | wave_2_per_point21=ox = mx; |
| 140 | wave_2_per_point22=oy = my; |
| 141 | wave_2_per_point23=mx = ox*cos(yang) + oz*sin(yang); |
| 142 | wave_2_per_point24=mz = - ox*sin(yang) + oz*cos(yang); |
| 143 | wave_2_per_point25=ox = mx; |
| 144 | wave_2_per_point26=oz = mz; |
| 145 | wave_2_per_point27=my = oy*cos(xang) - oz*sin(xang); |
| 146 | wave_2_per_point28=mz = oy*sin(xang) + oz*cos(xang); |
| 147 | wave_2_per_point29=oy = my; |
| 148 | wave_2_per_point30=oz = mz; |
| 149 | wave_2_per_point31= |
| 150 | wave_2_per_point32=yang = q8; |
| 151 | wave_2_per_point33=oz = oz + 5; |
| 152 | wave_2_per_point34= |
| 153 | wave_2_per_point35=mx = ox*cos(yang) + oz*sin(yang); |
| 154 | wave_2_per_point36=mz = - ox*sin(yang) + oz*cos(yang); |
| 155 | wave_2_per_point37=ox = mx; |
| 156 | wave_2_per_point38=oz = mz; |
| 157 | wave_2_per_point39= |
| 158 | wave_2_per_point40=oz = oz - 5; |
| 159 | wave_2_per_point41= |
| 160 | wave_2_per_point42=oz = oz - 2; |
| 161 | wave_2_per_point43=x = ox*fov/oz + 0.5; |
| 162 | wave_2_per_point44=x = (x-.5)*0.75 + 0.5; |
| 163 | wave_2_per_point45=y = oy*fov/oz + 0.5; |
| 164 | wave_2_per_point46= |
| 165 | wavecode_3_enabled=1 |
| 166 | wavecode_3_samples=512 |
| 167 | wavecode_3_sep=0 |
| 168 | wavecode_3_bSpectrum=0 |
| 169 | wavecode_3_bUseDots=0 |
| 170 | wavecode_3_bDrawThick=0 |
| 171 | wavecode_3_bAdditive=0 |
| 172 | wavecode_3_scaling=1.00000 |
| 173 | wavecode_3_smoothing=0.50000 |
| 174 | wavecode_3_r=1.000 |
| 175 | wavecode_3_g=1.000 |
| 176 | wavecode_3_b=1.000 |
| 177 | wavecode_3_a=1.000 |
| 178 | wave_3_per_point1=x = .5 + (bass*.12)*sin(sample*2*(time*10000)); |
| 179 | wave_3_per_point2=y = .5 + (bass*.1)*cos(sample*2*(time*10000)); |
| 180 | wave_3_per_point3=r = 1 + .5*sin(sample*2+(time*10)); |
| 181 | wave_3_per_point4=g = 1 + .5*sin(sample*2+(time*50)); |
| 182 | wave_3_per_point5=b = 1 + .5*sin(sample*2+(time*20)); |
| 183 | shapecode_0_enabled=1 |
| 184 | shapecode_0_sides=100 |
| 185 | shapecode_0_additive=0 |
| 186 | shapecode_0_thickOutline=0 |
| 187 | shapecode_0_textured=0 |
| 188 | shapecode_0_num_inst=1 |
| 189 | shapecode_0_x=0.500 |
| 190 | shapecode_0_y=0.500 |
| 191 | shapecode_0_rad=0.02041 |
| 192 | shapecode_0_ang=0.00000 |
| 193 | shapecode_0_tex_ang=0.00000 |
| 194 | shapecode_0_tex_zoom=1.00000 |
| 195 | shapecode_0_r=1.000 |
| 196 | shapecode_0_g=0.000 |
| 197 | shapecode_0_b=0.000 |
| 198 | shapecode_0_a=1.000 |
| 199 | shapecode_0_r2=0.000 |
| 200 | shapecode_0_g2=0.000 |
| 201 | shapecode_0_b2=0.000 |
| 202 | shapecode_0_a2=1.000 |
| 203 | shapecode_0_border_r=0.000 |
| 204 | shapecode_0_border_g=0.000 |
| 205 | shapecode_0_border_b=0.000 |
| 206 | shapecode_0_border_a=1.000 |
| 207 | shape_0_per_frame1=x = 0.5 + 0.1*sin(0.89*q8); |
| 208 | shape_0_per_frame2=y = 0.5 - 0.1*cos(0.77*q8); |
| 209 | shape_0_per_frame3= |
| 210 | shape_0_per_frame4=r = 0.25+0.25*sin(time*0.7679); |
| 211 | shape_0_per_frame5=g = 0.25+0.25*sin(time*0.8079); |
| 212 | shape_0_per_frame6=b = 0.25+0.25*sin(time*0.7339); |
| 213 | shape_0_per_frame7=r2 = 0.25+0.25*sin(time*0.6979); |
| 214 | shape_0_per_frame8=g2 = 0.25+0.25*sin(time*0.849); |
| 215 | shape_0_per_frame9=b2 = 0.25+0.25*sin(time*0.8079); |
| 216 | shapecode_1_enabled=1 |
| 217 | shapecode_1_sides=100 |
| 218 | shapecode_1_additive=0 |
| 219 | shapecode_1_thickOutline=0 |
| 220 | shapecode_1_textured=0 |
| 221 | shapecode_1_num_inst=1 |
| 222 | shapecode_1_x=0.500 |
| 223 | shapecode_1_y=0.500 |
| 224 | shapecode_1_rad=0.02007 |
| 225 | shapecode_1_ang=0.00000 |
| 226 | shapecode_1_tex_ang=0.00000 |
| 227 | shapecode_1_tex_zoom=1.00000 |
| 228 | shapecode_1_r=1.000 |
| 229 | shapecode_1_g=0.000 |
| 230 | shapecode_1_b=0.000 |
| 231 | shapecode_1_a=1.000 |
| 232 | shapecode_1_r2=0.000 |
| 233 | shapecode_1_g2=0.000 |
| 234 | shapecode_1_b2=0.000 |
| 235 | shapecode_1_a2=1.000 |
| 236 | shapecode_1_border_r=0.000 |
| 237 | shapecode_1_border_g=0.000 |
| 238 | shapecode_1_border_b=0.000 |
| 239 | shapecode_1_border_a=1.000 |
| 240 | shape_1_per_frame1=x = 0.5 - 0.1*sin(0.7089*q8); |
| 241 | shape_1_per_frame2=y = 0.5 + 0.1*cos(0.5077*q8); |
| 242 | shape_1_per_frame3= |
| 243 | shape_1_per_frame4=r = 0.25+0.25*sin(time*0.6479); |
| 244 | shape_1_per_frame5=g = 0.25+0.25*sin(time*0.5079); |
| 245 | shape_1_per_frame6=b = 0.25+0.25*sin(time*0.9339); |
| 246 | shape_1_per_frame7=r2 = 0.25+0.25*sin(time*0.779); |
| 247 | shape_1_per_frame8=g2 = 0.25+0.25*sin(time*0.707); |
| 248 | shape_1_per_frame9=b2 = 0.25+0.25*sin(time*0.747); |
| 249 | shapecode_2_enabled=1 |
| 250 | shapecode_2_sides=100 |
| 251 | shapecode_2_additive=0 |
| 252 | shapecode_2_thickOutline=0 |
| 253 | shapecode_2_textured=0 |
| 254 | shapecode_2_num_inst=1 |
| 255 | shapecode_2_x=0.500 |
| 256 | shapecode_2_y=0.500 |
| 257 | shapecode_2_rad=0.02007 |
| 258 | shapecode_2_ang=0.00000 |
| 259 | shapecode_2_tex_ang=0.00000 |
| 260 | shapecode_2_tex_zoom=1.00000 |
| 261 | shapecode_2_r=1.000 |
| 262 | shapecode_2_g=0.000 |
| 263 | shapecode_2_b=0.000 |
| 264 | shapecode_2_a=1.000 |
| 265 | shapecode_2_r2=0.000 |
| 266 | shapecode_2_g2=0.000 |
| 267 | shapecode_2_b2=0.000 |
| 268 | shapecode_2_a2=1.000 |
| 269 | shapecode_2_border_r=0.000 |
| 270 | shapecode_2_border_g=0.000 |
| 271 | shapecode_2_border_b=0.000 |
| 272 | shapecode_2_border_a=1.000 |
| 273 | shape_2_per_frame1=x = 0.5 + 0.1*sin(0.679*q8); |
| 274 | shape_2_per_frame2=y = 0.5 - 0.1*cos(0.877*q8); |
| 275 | shape_2_per_frame3= |
| 276 | shape_2_per_frame4=r = 0.25+0.25*sin(time*0.5679); |
| 277 | shape_2_per_frame5=g = 0.25+0.25*sin(time*0.4079); |
| 278 | shape_2_per_frame6=b = 0.25+0.25*sin(time*1.1339); |
| 279 | shape_2_per_frame7=r2 = 0.25+0.25*sin(time*0.9979); |
| 280 | shape_2_per_frame8=g2 = 0.25+0.25*sin(time*0.891); |
| 281 | shape_2_per_frame9=b2 = 0.25+0.25*sin(time*0.713); |
| 282 | shapecode_3_enabled=1 |
| 283 | shapecode_3_sides=100 |
| 284 | shapecode_3_additive=0 |
| 285 | shapecode_3_thickOutline=0 |
| 286 | shapecode_3_textured=0 |
| 287 | shapecode_3_num_inst=1 |
| 288 | shapecode_3_x=0.500 |
| 289 | shapecode_3_y=0.500 |
| 290 | shapecode_3_rad=0.02007 |
| 291 | shapecode_3_ang=0.00000 |
| 292 | shapecode_3_tex_ang=0.00000 |
| 293 | shapecode_3_tex_zoom=1.00000 |
| 294 | shapecode_3_r=1.000 |
| 295 | shapecode_3_g=0.000 |
| 296 | shapecode_3_b=0.000 |
| 297 | shapecode_3_a=1.000 |
| 298 | shapecode_3_r2=0.000 |
| 299 | shapecode_3_g2=0.000 |
| 300 | shapecode_3_b2=0.000 |
| 301 | shapecode_3_a2=1.000 |
| 302 | shapecode_3_border_r=0.000 |
| 303 | shapecode_3_border_g=0.000 |
| 304 | shapecode_3_border_b=0.000 |
| 305 | shapecode_3_border_a=1.000 |
| 306 | shape_3_per_frame1=x = 0.5 + 0.1*sin(0.916*q8); |
| 307 | shape_3_per_frame2=y = 0.5 - 0.1*cos(0.977*q8); |
| 308 | shape_3_per_frame3= |
| 309 | shape_3_per_frame4=r = 0.25+0.25*sin(time*1.1679); |
| 310 | shape_3_per_frame5=g = 0.25+0.25*sin(time*1.18079); |
| 311 | shape_3_per_frame6=b = 0.25+0.25*sin(time*1.17339); |
| 312 | shape_3_per_frame7=r2 = 0.25+0.25*sin(time*1.16979); |
| 313 | shape_3_per_frame8=g2 = 0.25+0.25*sin(time*1.1849); |
| 314 | shape_3_per_frame9=b2 = 0.25+0.25*sin(time*1.81079); |
| 315 | per_frame_1=wave_r = 0.0 + 0.000*( 0.60*sin(0.933*time) + 0.40*sin(1.045*time) ); |
| 316 | per_frame_2=wave_g = 0.0 + 0.000*( 0.60*sin(0.900*time) + 0.40*sin(0.956*time) ); |
| 317 | per_frame_3=wave_b = 0.0 + 0.000*( 0.60*sin(0.910*time) + 0.40*sin(0.920*time) ); |
| 318 | per_frame_4=zoom = zoom + 0.01*( 0.60*sin(0.339*time) + 0.40*sin(0.276*time) ); |
| 319 | per_frame_5=rot = rot + 0.010*( 0.60*sin(0.381*time) + 0.40*sin(0.579*time) ); |
| 320 | per_frame_6=//decay = decay - 0.01*equal(frame%6,0); |
| 321 | per_frame_7=warp=0; |
| 322 | per_frame_8=zoom =1; |
| 323 | per_frame_9=rot =0; |
| 324 | per_frame_10=cx=0.5; |
| 325 | per_frame_11=cy=0.5; |
| 326 | per_frame_12=q1 = 0.5 + 0.1*sin(time); |
| 327 | per_frame_13=q2 = 0.5 - 0.1*cos(time); |
| 328 | per_frame_14=wave_a =0; |
| 329 | per_frame_15=decay=1; |
| 330 | per_frame_16= |
| 331 | per_frame_17= |
| 332 | per_frame_18= |
| 333 | per_frame_19=q8 = oldq8+ 0.0005*(pow(1+1.2*bass+0.4*bass_att+0.1*treb+0.1*treb_att+0.1*mid+0.1*mid_att,6)/fps); |
| 334 | per_frame_20=oldq8 =q8; |
| 335 | per_frame_21=mybass = mybass + 0.01*(bass + bass_att); |
| 336 | per_frame_22= |
| 337 | per_frame_23=rot =1 + 0.15*sin(mybass*0.1789); |
| 338 | per_frame_24=zoom = 1.4 + 0.1*sin(mybass*0.786); |
| 339 | per_frame_25= |
| 340 | per_frame_26= |
| 341 | per_frame_27=chng=sin(time*.5); |
| 342 | per_frame_28=cthr=.9999; |
| 343 | per_frame_29=mq21=if(above(chng,cthr),rand(3),mq21); |
| 344 | per_frame_30=mq22=if(above(chng,cthr),rand(3),mq22); |
| 345 | per_frame_31=mq23=if(above(chng,cthr),rand(3),mq23); |
| 346 | per_frame_32=mq24=if(above(chng,cthr),rand(2),mq24); |
| 347 | per_frame_33=mq25=if(above(chng,cthr),rand(2),mq25); |
| 348 | per_frame_34=mq26=if(above(chng,cthr),rand(2),mq26); |
| 349 | per_frame_35=mq27=if(above(chng,cthr),rand(1),mq27); |
| 350 | per_frame_36=mq28=if(above(chng,cthr),rand(1),mq28); |
| 351 | per_frame_37=mq29=if(above(chng,cthr),rand(1)*.3,mq29); |
| 352 | per_frame_38=mq31=if(above(chng,cthr),rand(1)*.3,mq31); |
| 353 | per_frame_39=monitor=chng; |
| 354 | per_frame_40=q21=mq21;q22=mq22;q23=mq23;q24=mq24;q25=mq25;q26=mq26; |
| 355 | per_frame_41=q27=mq27;q28=mq28;q29=mq29;q31=mq31; |
| 356 | per_frame_42= |
| 357 | per_frame_43=monitor=mq1; |
| 358 | per_frame_44=vol=bass+treb+mid; |
| 359 | per_frame_45=atime=atime+vol; |
| 360 | per_frame_46=q11=.4+sin(atime*.006 )*.4; |
| 361 | per_frame_47=q12=.4+cos(atime*.00613828348)*.4; |
| 362 | per_frame_48=q13=.4+sin(atime*.00598593455)*.4; |
| 363 | per_frame_49=monitor=q13; |
| 364 | per_frame_50=q4=sin(atime*.03); |
| 365 | per_frame_51=q5=cos(atime*.030383824); |
| 366 | per_frame_52=q6=tan(atime*.029384834); |
| 367 | per_frame_53= |
| 368 | per_pixel_1=myx = (x-q1)*2; |
| 369 | per_pixel_2=myy= (y-q2)*2; |
| 370 | per_pixel_3=myrad = (myx*myx) + (myy*myy); |
| 371 | per_pixel_4=dx = 0.1*(myy/(myrad+1)); |
| 372 | per_pixel_5=dy = -0.1*(myx/(myrad+1)); |
| 373 | warp_1=`shader_body { |
| 374 | warp_2=`float2 uv1 = float2(uv.x-0.5,uv.y-0.5);//*aspect.xy; |
| 375 | warp_3=` |
| 376 | warp_4=` |
| 377 | warp_5=`float2 zz = uv1 *texsize.xy *q28; |
| 378 | warp_6=` |
| 379 | warp_7=`zz =mul(zz,float2x2(_qb)); |
| 380 | warp_8=` |
| 381 | warp_9=`float2 h1 = clamp(tan(zz.yx),-16,16) * cos(zz*2*q9); |
| 382 | warp_10=` |
| 383 | warp_11=`uv.xy += h1 * .01; |
| 384 | warp_12=` |
| 385 | warp_13=`float r = tex2D (sampler_noise_hq,uv/6 + .001*time).x*16; |
| 386 | warp_14=`float2 uv6 = uv1; |
| 387 | warp_15=`float sr = sin(r); float cr = cos(r); |
| 388 | warp_16=`uv6 = mul(uv6, float2x2(cr,sr,-sr,cr)); |
| 389 | warp_17=`float3 mus = 1/(sqrt(uv6.y)) * ((.5-q30)+.03*q26); |
| 390 | warp_18=` |
| 391 | warp_19=`float3 crisp = tex2D(sampler_main,uv) + .02*mus; |
| 392 | warp_20=`//crisp = lerp(crisp, crisp.bgr, saturate(crisp)); |
| 393 | warp_21=`ret = crisp-.0 -.3* GetBlur3(uv) - rad/10 ; |
| 394 | warp_22=` |
| 395 | warp_23=` |
| 396 | warp_24=`float4 noise9 = tex3D(sampler_noisevol_hq, |
| 397 | warp_25=` ((uv6.xyy*q27 |
| 398 | warp_26=` )*texsize.xyy*texsize_noisevol_hq.zww |
| 399 | warp_27=` ).xyz* |
| 400 | warp_28=` float3(1,1,0)*0.05 + |
| 401 | warp_29=` time*float3(0,0,1)*q29 |
| 402 | warp_30=` ); |
| 403 | warp_31=`if(ret.x> q21*q13 && ret.x<= q24*q11 )ret.y -= (noise9).x*.5; |
| 404 | warp_32=`if(ret.y> q22*q11 && ret.y<= q25*q12 )ret.z -= (noise9).y*.5; |
| 405 | warp_33=`if(ret.z> q23*q12 && ret.z<= q26*q13 )ret.x -= (noise9).z*.5; |
| 406 | warp_34=`} |
| 407 | comp_1=`// to access a texture on disk: make a sampler. This example loads "lichen.{tga/jpg/etc}". |
| 408 | comp_2=`sampler2D sampler_fw_lichen; // _FW = filtering + wrap; _PC = point sampling + edge clamp; etc. |
| 409 | comp_3=`float4 texsize_lichen; // auto-binds; .xy = (w,h); .zw = (1/w,1/h) |
| 410 | comp_4=` |
| 411 | comp_5=` |
| 412 | comp_6=`shader_body |
| 413 | comp_7=`{ |
| 414 | comp_8=` ret = tex2D(sampler_main, uv).xyz; |
| 415 | comp_9=` ret = max(ret, tex2D(sampler_main, float2(1-uv.x,uv.y))); |
| 416 | comp_10=` ret += GetBlur1(1-uv)*2; |
| 417 | comp_11=`ret += GetBlur3(-uv)*0.5; |
| 418 | comp_12=` ret *= 1.00; //old gamma effect |
| 419 | comp_13=` |
| 420 | comp_14=`} |